package com.xshbbs.dao;

import java.util.List;

import com.xshbbs.entity.Partition;

public interface PartitionMapper {
	
	/**
	 * 获得所有分区及该分区下的版块
	 */
	public List<Partition> selectAllPartition(); 
	
	/**
	 * 根据id获取分区所有信息
	 */
	public Partition selectPartitionById(Integer id);
	
	public boolean insertPartition(Partition partition);
	
	public boolean deletePartitionById(Integer id);
	
	public boolean updatePartitionById(Partition partition);
	
}
